﻿/******************************************************************************
 * 
 * Announce: CSharpKit, Basic algorithms, components and definitions.
 *           Copyright (C) ShenYongchen.
 *           All rights reserved.
 *   Author: 申永辰.郑州 (shenyczz@163.com)
 *  WebSite: http://github.com/shenyczz/CSharpKit
 *
 * THIS CODE IS LICENSED UNDER THE MIT LICENSE (MIT).
 * THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 
 * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
 * IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
 * PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
 * 
******************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpKit.Platform.Windows
{
    /// <summary>
    /// TernaryRasterOperations - 三元光栅操作
    /// </summary>
    [Flags]
    public enum Raster3Operations : uint
    {
        SRCCOPY     = 0x00CC0020, // dest = source               
        SRCPAINT    = 0x00EE0086, // dest = source OR dest           
        SRCAND      = 0x008800C6, // dest = source AND dest          
        SRCINVERT   = 0x00660046, // dest = source XOR dest          
        SRCERASE    = 0x00440328, // dest = source AND (NOT dest )   
        NOTSRCCOPY  = 0x00330008, // dest = (NOT source)             
        NOTSRCERASE = 0x001100A6, // dest = (NOT src) AND (NOT dest) 
        MERGECOPY   = 0x00C000CA, // dest = (source AND pattern)     
        MERGEPAINT  = 0x00BB0226, // dest = (NOT source) OR dest     
        PATCOPY     = 0x00F00021, // dest = pattern                  
        PATPAINT    = 0x00FB0A09, // dest = DPSnoo                   
        PATINVERT   = 0x005A0049, // dest = pattern XOR dest         
        DSTINVERT   = 0x00550009, // dest = (NOT dest)               
        BLACKNESS   = 0x00000042, // dest = BLACK                    
        WHITENESS   = 0x00FF0062, // dest = WHITE                    
    }
}
